//
//  LGKNotePhotoManager.h
//  AIEnglishTeaching
//
//  Created by 刘亚军 on 2021/9/8.
//  Copyright © 2021 刘亚军. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class LGKNotePhotoManager;
@protocol LGKNotePhotoManagerDelegate <NSObject>
@optional
/** 拍照照片 */
- (void)LGKNotePhotoManager:(LGKNotePhotoManager *) manage cameraDidSelectImage:(UIImage *)selectImage;
/** 从相册中选取的照片 */
- (void)LGKNotePhotoManager:(LGKNotePhotoManager *) manage albumDidSelectImage:(NSArray *)selectImages;
@end
@interface LGKNotePhotoManager : NSObject
@property (nonatomic,weak) UIViewController *ownController;
/** 最大可选照片数 */
@property (nonatomic,assign) NSInteger maximumNumberOfSelection;
@property (nonatomic,assign) id<LGKNotePhotoManagerDelegate> delegate;
+ (instancetype)manage;
/** 拍照 */
- (void)photoFromCamera;
/** 从相册中选取照片 */
- (void)photoFromAlbum;
@end

NS_ASSUME_NONNULL_END
